<%@ Page ContentType="text/calendar" Language="C#" Inherits="System.Web.Mvc.ViewPage<AltNetUK.Models.Event>" %>BEGIN:VCALENDAR
PRODID:
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
CATEGORIES:MEETING
DESCRIPTION;CHARSET=UTF-8:<%=this.ViewData.Model.Description%>
LOCATION;CHARSET=UTF-8:<%=this.ViewData.Model.Address%>
SUMMARY;CHARSET=UTF-8:<%=this.ViewData.Model.Name%>
UID:alan.dean@gmail.com
URL:<%=new Uri(this.Request.Url, this.ViewData.Model.Path)%>
DTSTART;VALUE=DATE-TIME:<%=this.ViewData.Model.Start.Calendar%>
DTEND;VALUE=DATE-TIME:<%=this.ViewData.Model.End.Calendar%>
DTSTAMP:19701209T000000Z
END:VEVENT
END:VCALENDAR